<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ page import="com.thinkgem.jeesite.common.utils.PropertiesLoader" %>
<!DOCTYPE HTML >
<html>
  <head>
     <meta charset="utf-8">
  	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>运输中审核</title>
  	<!-- Tell the browser to be responsive to screen width -->
  	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!-- Vendor CSS-->
		<link href="${weiZe }/assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
		<link href="${weiZe }/assets/vendor/skycons/css/skycons.css" rel="stylesheet" />
		<link href="${weiZe }/assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
		<link href="${weiZe }/assets/vendor/css/pace.preloader.css" rel="stylesheet" />
		<!-- Plugins CSS-->
		<link href="${weiZe }/assets/plugins/bootkit/css/bootkit.css" rel="stylesheet" />
		<link href="${weiZe }/assets/plugins/pnotify/css/pnotify.custom.css" rel="stylesheet" />					
		<!-- Theme CSS -->
		<link href="${weiZe }/assets/page/css/index/jquery.mmenu.css" rel="stylesheet " />
		<!-- Page CSS -->		
		<link href="${weiZe }/assets/page/css/index/index.css" rel="stylesheet" />
		<link href="${weiZe }/assets/page/css/index/add-ons.min.css" rel="stylesheet" />
		<!-- end: CSS file-->	
		<!-- Head Libs -->
		<script src="${weiZe }/assets/plugins/modernizr/js/modernizr.js"></script>
	<style type="text/css">
		/*弹窗样式*/
		#mask{
            background: #000;
            opacity: 0.75;
            /*IE兼容*/
            filter: alpha(opacity=75);
            height: 1000px;
            width: 100%;
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1099;
          }
          #formDispach{
            position: fixed;
             left: 30%;
            top: 5%;
            z-index:1100;
          }
          .formCon{
            width: auto;
            height: auto;
            background: #FFF;
            position: relative;
          }
	</style>
  </head>
  
  <body>
  	<%--弹出层 --%>
  	<div class="tan hide" id="mask"></div>
	<div class="tan hide" id="formDispach">
		<div class="formCon">
			<form:form id="inputForm" modelAttribute="tbWaybill"  action="${ctx }/tb_waybill/tbWaybill/runningFall" method="post" class="sidebar-form">
				<form:hidden id="this_id" path="id" />
				<form:hidden id="this_obj_id" path="cost.id"/>
				<form:hidden id="this_classType" path="classType" />
			        <div class="input-group">
			          <div class="modal-dialog">
					  	 <div class="modal-content">
				          <div class="modal-header">
				            <button type="button" class="close" data-dismiss="modal" aria-label="Close" id="btnCancel" >
				              <span aria-hidden="true">&times;</span></button>
				            <h4 class="modal-title">不同意原因</h4>
				          </div>
				          <div class="modal-body">
			            	<section class="content">
				            	<div class="box box-default">
				            		<div class="box-body">
				            			<div class="row">
              								<div class="form-group">
              									<label>原因</label>
              									<form:textarea class="form-control"  path="cost.fallContext" rows="3" />
              								</div>
				            			</div>
				            		</div>
				            	</div>
				      		 </section>
				          </div>
				          <div class="modal-footer">
				            <button type="button" id="btnCancel" class="btn btn-default pull-left closeBtn" data-dismiss="modal" >取消</button>
				            <button type="submit" class="btn btn-primary">提交</button>
				          </div>
				        </div>
			        </div>
	  			</div>
			</form:form>
		</div>
	</div>
	
  		
  
  
    	<section class="content-header">
	      <h1>
	        运输中审核
	        <small>Control panel</small>
	      </h1>
	      <ol class="breadcrumb">
	        <li><a href="#"><i class="fa fa-dashboard"></i> 运输中审核</a></li>
	        <li class="active">审核</li>
	      </ol>
	    </section>
    	
   	<div class="row">
        <section class="col-lg-11 ">
        	<div class="nav-tabs-custom">
        		<ul class="nav nav-tabs pull-right">
	              <%-- <li class="active"><a href="#revenue-chart" data-toggle="tab">Area</a></li>
	              <li><a href="#sales-chart" data-toggle="tab">Donut</a></li> --%>
	              
	             	<li><a href="#qi_ta" data-toggle="tab" >其他</a></li>
	              	<li><a href="#bao_yang" data-toggle="tab" >保养费</a></li>
	              	<li><a href="#zhu_su" data-toggle="tab" >住宿费</a></li>
	              	<li><a href="#xie_tiao" data-toggle="tab">协调费</a></li>
	              	<li><a href="#guo_lu" data-toggle="tab" >过路费</a></li>
	              	<li><a href="#wei_xiu" data-toggle="tab" >维修费</a></li>
	              	<li><a href="#pei_jian" data-toggle="tab" >配件费</a></li>
	              	<li><a href="#jia_you" data-toggle="tab" >加油站加油</a></li>
	             	<li class="active"><a href="#bu_you" data-toggle="tab" >公司补油</a></li>
	              
	              <li class="pull-left header"><i class="fa fa-inbox"></i>To Examine</li>
	            </ul>
        		<div class="tab-content no-padding">
        			<!-- <div class="chart tab-pane active" id="revenue-chart" style="position: relative; "></div>
              		<div class="chart tab-pane" id="sales-chart" style="position: relative; "></div> -->
              		<div class="tab-pane active" id="bu_you">
	            		<div class="box-body no-padding">
	            			<table class="table bu_you">
		            			<tr>
				                  <th>#</th>
				                  <th>加油日期</th>
				                  <th>油品</th>
				                  <th>数量(公升)</th>
				                  <th>单价(元/升)</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.a }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.dateTime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.goodName}</td>
				                		<td>${f.weight }</td>
				                		<td>${f.unitPrice }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${f.bigPhoto}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=0"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('0','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
	            	<div class="tab-pane " id="jia_you">
	            		<div class="box-body no-padding">
	            			<table class="table jia_you">
		            			<tr>
				                  <th>#</th>
				                  <th>加油日期</th>
				                  <th>油品</th>
				                  <th>数量(公升)</th>
				                  <th>单价(元/升)</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.b }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.dateTime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.goodName}</td>
				                		<td>${f.weight }</td>
				                		<td>${f.unitPrice }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${f.bigPhoto}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=0"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('0','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
	            	<div class="tab-pane " id="pei_jian">
	            		<div class="box-body no-padding">
	            			<table class="table pei_jian">
		            			<tr>
				                  <th>#</th>
				                  <th>购买日期</th>
				                  <th>更换部件</th>
				                  <th>单价</th>
				                  <th>数量</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.c }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.datetime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.parst}</td>
				                		<td>${f.price }</td>
				                		<td>${f.number }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${ f.photoBig}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=1"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('1','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
	            	<div class="tab-pane " id="wei_xiu">
	            		<div class="box-body no-padding">
	            			<table class="table wei_xiu">
		            			<tr>
				                  <th>#</th>
				                  <th>购买日期</th>
				                  <th>更换部件</th>
				                  <th>单价</th>
				                  <th>数量</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.d }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.datetime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.parst}</td>
				                		<td>${f.price }</td>
				                		<td>${f.number }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${ f.photoBig}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=1"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('1','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
	            	<div class="tab-pane " id="guo_lu">
	            		<div class="box-body no-padding">
	            			<table class="table guo_lu">
		            			<tr>
				                  <th>#</th>
				                  <th>日期</th>
				                  <th>张数</th>
				                  <th>单价</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.e }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.datetime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.number }</td>
				                		<td>${f.price }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${ f.photoBig}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=1"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('1','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
	            	<div class="tab-pane " id="xie_tiao">
	            		<div class="box-body no-padding">
	            			<table class="table xie_tiao">
		            			<tr>
				                  <th>#</th>
				                  <th>日期</th>
				                  <th>张数</th>
				                  <th>单价</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.f }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.datetime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.number }</td>
				                		<td>${f.price }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${ f.photoBig}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=1"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('1','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
	            	<div class="tab-pane " id="zhu_su">
	            		<div class="box-body no-padding">
	            			<table class="table zhu_su">
		            			<tr>
				                  <th>#</th>
				                  <th>日期</th>
				                  <th>单价</th>
				                  <th>数量</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.g }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.datetime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.price }</td>
				                		<td>${f.number }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${ f.photoBig}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=1"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('1','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
	            	<div class="tab-pane " id="bao_yang">
	            		<div class="box-body no-padding">
	            			<table class="table bao_yang">
		            			<tr>
				                  <th>#</th>
				                  <th>日期</th>
				                  <th>保养项目</th>
				                  <th>单价</th>
				                  <th>数量</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.h }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.datetime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.parst}</td>
				                		<td>${f.price }</td>
				                		<td>${f.number }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${ f.photoBig}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=1"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('1','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
	            	<div class="tab-pane " id="qi_ta">
	            		<div class="box-body no-padding">
	            			<table class="table bao_yang">
		            			<tr>
				                  <th>#</th>
				                  <th>日期</th>
				                  <th>项目</th>
				                  <th>单价</th>
				                  <th>数量</th>
				                  <th>金额</th>
				                  <th>照片记录</th>
				                  <th>备注</th>
				                  <th>操作</th>
				                </tr>
				                <c:forEach items="${data.i }" var="f"  varStatus="status">
				                	<tr>
				                		<td>${status.count}</td>
				                		<td><fmt:formatDate value="${f.datetime }"  pattern="yyyy-MM-dd"/></td>
				                		<td>${f.parst}</td>
				                		<td>${f.price }</td>
				                		<td>${f.number }</td>
				                		<td>${f.money }</td>
				                		<td>
				                			<div class="row fontawesome-icon-list">
					                			<c:forEach items="${ f.photoBig}" var="p">
					                				 <div class="col-md-3 col-sm-4">
					                				 	<img alt="照片记录" src="<%=PropertiesLoader.OSSPhotoUrlRequest()%>${p}">
					                				 </div>
					                			</c:forEach>
				                			</div>
				                		</td>
				                		<td>${f.remarks }</td>
				                		<shiro:hasPermission name="tb_waybill:auditInTransitList:edit"><td>
				                			<a href="${ctx }/tb_waybill/tbWaybill/runningPassForm?id=${f.waybillId}&get_id=${f.id}&classType=1"><span class="btn btn-block btn-primary">通过</span></a>
				                			<a href="javascript:void(0);" onclick="fall('1','${f.id}','${f.waybillId }')" ><span class="btn btn-block btn-warning">不通过</span> </a>
				                		</td></shiro:hasPermission>
				                	</tr>
				                </c:forEach>
			                </table>
	            		</div>
	            	</div>
        		</div>
        	</div>
        </section>
      </div>
  </body>
  
  <!-- Vendor JS-->				
		<script src="${weiZe }/assets/vendor/js/jquery.min.js"></script>
		<script src="${weiZe }/assets/vendor/js/jquery-2.1.1.min.js"></script>
		<script src="${weiZe }/assets/vendor/js/jquery-migrate-1.2.1.min.js"></script>
		<script src="${weiZe }/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="${weiZe }/assets/vendor/skycons/js/skycons.js"></script>	
		<script src="${weiZe }/assets/vendor/js/pace.min.js"></script>
		
		<!-- Plugins JS-->
		<script src="${weiZe }/assets/plugins/autosize/jquery.autosize.min.js"></script>
		<script src="${weiZe }/assets/plugins/jquery-validation/js/jquery.validate.js"></script>
		<script src="${weiZe }/assets/plugins/wizard/js/jquery.bootstrap.wizard.min.js"></script>
		<script src="${weiZe }/assets/plugins/pnotify/js/pnotify.custom.js"></script>	
		<script src="${weiZe }/assets/plugins/sparkline/js/jquery.sparkline.min.js"></script>
		
		<!-- Theme JS -->		
		<script src="${weiZe }/assets/js/jquery.mmenu.min.js"></script>
		<script src="${weiZe }/assets/js/core.min.js"></script>
		
		<!-- Pages JS -->
		<script src="${weiZe }/assets/page/js/newCarlist/newCarlist.js"></script>		
		<script src="${ctxStatic }/My97DatePicker/WdatePicker.js"></script>
 <script type="text/javascript">
 	$(document).ready(function() {
		$("#close,#btnCancel").click(function(){
        	$(".tan").addClass("hide");
        });
		$("#dispachFrom").validate({
			submitHandler: function(form){
				loading('正在提交，请稍等...');
				form.submit();
			},
			errorContainer: "#messageBox",
			errorPlacement: function(error, element) {
				$("#messageBox").text("输入有误，请先更正。");
				if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
					error.appendTo(element.parent().parent());
				} else {
					error.insertAfter(element);
				}
			}
		});
		
		$("#close,#btnCancel").click(function(){
        	$(".tan").addClass("hide");
        });
		
	});
	function page(n,s){
		$("#pageNo").val(n);
		$("#pageSize").val(s);
		$("#searchForm").submit();
       	return false;
       }
       function getLocalTime(nS) {     
	   return new Date(parseInt(nS) * 1000).toLocaleString().replace(/:\d{1,2}$/,' ');     
	}
	/*
	* 不通过
	* id 申请ID
	* type 0油品消耗1费用
	* waybillId 运单id
	*/
	function fall(type,id,waybillId){
		$("#this_obj_id").val(id);
		$("#this_id").val(waybillId);
		$("#this_classType").val(type);
		
		
		$(".tan").removeClass("hide");
	}
</script>
</html>
